package cn.com.zero.sample.trade.api.po;

import cn.com.zero.base.po.BasePO;

import java.io.Serializable;

/**
 * @author liuxh
 * @version 1.0.0
 * @Description 委托对象
 * @createTime 2022/3/22 14:39
 */
public class OrderPO extends BasePO implements Serializable {
    /**
     * 订单ID
     */
    private Long id;

    /**
     * 下单服务
     */
    private String serial;

    /**
     * 用户ID
     */
    private String userId;

    /**
     * 买卖方向 1：买 2：卖
     */
    private Integer bsFlag;

    /**
     * 商品编码
     */
    private String commodityId;

    /**
     * 委托价格
     */
    private Double price;

    /**
     * 委托数量
     */
    private Double quantity;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getSerial() {
        return serial;
    }

    public void setSerial(String serial) {
        this.serial = serial;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Integer getBsFlag() {
        return bsFlag;
    }

    public void setBsFlag(Integer bsFlag) {
        this.bsFlag = bsFlag;
    }

    public String getCommodityId() {
        return commodityId;
    }

    public void setCommodityId(String commodityId) {
        this.commodityId = commodityId;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Double getQuantity() {
        return quantity;
    }

    public void setQuantity(Double quantity) {
        this.quantity = quantity;
    }
}
